package com.zcy.auth.mapper;

import com.zcy.auth.domain.EmployeeRole;
import com.zcy.basic.mapper.BaseMapper;
import com.zcy.pmp.domain.Employee;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 员工-角色对应关系 Mapper 接口
 * </p>
 *
 * @author lucker
 * @since 2023-12-03
 */
public interface EmployeeRoleMapper extends BaseMapper<EmployeeRole> {

    int updateByEmployee(Employee employee);

    void deleteByEmployeeId(Serializable id);

    void deleteBatchByEmployeeIds(List<Long> ids);

    void addBatch(List<EmployeeRole> employeeRoles);



}
